Magento1.8 - Restapi Custom Module - PUT using RestClientPayment with REST APIcustom api to create customer in Magento2Magento2 Reorder using REST ApiMagento : REST API integration with paypal payment methodMagento1.8 - Restapi Custom Module - Return variable formatting issue

Did ancient peoples ever hide their treasure behind puzzles?

bash: Replace single quote by two quotes in string

Should I judge the efficacy of Samadhi based on the ethical qualities of the meditator?

Is Nikon D500 a good fit for nature and ambient-lighting portraits and occasional other uses?

Number of Fingers for a Math Oriented Race

Why does a sticker slowly peel off, but if it is pulled quickly it tears?

Did anybody find out it was Anakin who blew up the command center?

Modifing a GFF3 file and writting to a new file

Is it unusual for a math department not to have a mail/web server?

How does attacking during a conversation affect initiative?

Can you illusion a window out of a solid wall?

What to do about my 1-month-old boy peeing through diapers?

Are sweatpants frowned upon on flights?

Printing a list as "a, b, c." using Python

Normalized Malbolge to Malbolge translator

How do I portray irrational anger in first person?

Why does glibc's strlen need to be so complicated to run quickly?

If the UK Gov. has authority to cancel article 50 notification, why do they have to agree an extension with the EU

Output only some part of a log line using grep

Why is there not a willingness from the world to step in between Pakistan and India?

How could a self contained organic body propel itself in space

Could the UK amend the European Withdrawal Act and revoke the Article 50 invocation?

Is this password scheme legit?

How many petaflops does it take to land on the moon? What does Artemis need with an Aitken?



Magento1.8 - Restapi Custom Module - PUT using RestClient


Payment with REST APIcustom api to create customer in Magento2Magento2 Reorder using REST ApiMagento : REST API integration with paypal payment methodMagento1.8 - Restapi Custom Module - Return variable formatting issue






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am using restClient for PUT activity on magento. I used 2 Headers option in the top:



Content-Type: application/json
Accept: application/json


After I do put, I receive below error:




"messages":
"error": [
"code": 400,
"message": "Content-Type header is empty"
]




Please advise.










share|improve this question
































    0















    I am using restClient for PUT activity on magento. I used 2 Headers option in the top:



    Content-Type: application/json
    Accept: application/json


    After I do put, I receive below error:




    "messages":
    "error": [
    "code": 400,
    "message": "Content-Type header is empty"
    ]




    Please advise.










    share|improve this question




























      0












      0








      0








      I am using restClient for PUT activity on magento. I used 2 Headers option in the top:



      Content-Type: application/json
      Accept: application/json


      After I do put, I receive below error:




      "messages":
      "error": [
      "code": 400,
      "message": "Content-Type header is empty"
      ]




      Please advise.










      share|improve this question
















      I am using restClient for PUT activity on magento. I used 2 Headers option in the top:



      Content-Type: application/json
      Accept: application/json


      After I do put, I receive below error:




      "messages":
      "error": [
      "code": 400,
      "message": "Content-Type header is empty"
      ]




      Please advise.







      magento-1.8 rest-api






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 16 at 10:16









      Savan Patel

      1,1734 silver badges22 bronze badges




      1,1734 silver badges22 bronze badges










      asked Aug 16 at 10:12









      AshishAshish

      13 bronze badges




      13 bronze badges























          0






          active

          oldest

          votes














          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f285615%2fmagento1-8-restapi-custom-module-put-using-restclient%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f285615%2fmagento1-8-restapi-custom-module-put-using-restclient%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown