Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-8022

FIWARE.Question.Tech.Data.OrionContextBroker.How to work with DELETE request and X-Auth-Token

    Details

      Description

      Created question in FIWARE Q/A platform on 20-12-2016 at 16:12
      Please, ANSWER this question AT http://stackoverflow.com/questions/41245352/how-to-work-with-delete-request-and-x-auth-token

      Question:
      How to work with DELETE request and X-Auth-Token

      Description:
      I want DELETE operation be allowed only after authentication/authorization process. I tried to do a DELETE operation passing an X-Auth-Token, but I got this: The status of this operation is: 400 Some error occurred!

      {"error":"BadRequest","description":"Orion accepts no payload for GET/DELETE requests. HTTP header Content-Type is thus forbidden"}

      I did this with GET request, without problem, but it is not working for DELETE.

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] How to work with DELETE request and X-Auth-Token FIWARE.Question.Tech.Data.OrionContextBroker.How to work with DELETE request and X-Auth-Token
        HD-Node Unknown [ 10852 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        mev Manuel Escriche made changes -
        Assignee Fermín Galán [ fermin ] Jose Manuel Cantera [ jmcantera ]
        backlogmanager Backlog Manager made changes -
        Assignee Fermín Galán [ fermin ]
        backlogmanager Backlog Manager made changes -
        HD-Chapter Unknown [ 10845 ] Data [ 10838 ]
        mev Manuel Escriche made changes -
        HD-Enabler Unknown [ 10910 ] Orion [ 10875 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            jmcantera Jose Manuel Cantera
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: