This topic contains 1 reply, has 0 voices, and was last updated by chanarbon 8 years, 1 month ago.

  • Author
    Posts
  • #1687

    alex87lee

    i know this is a long shot but,

    is there way to add ‘PATCH’ method to the ServerRequest.method? or specifiy the http request call on the http and https modules to handle “PATCH”
    This is a cached copy. Click here to see the original post.

  • #1688

    chanarbon

    Hi @alex87lee,

    If you check on https.Method which is the enum for the supported request types in SuiteScript 2.0, you would not see PATCH in there which is very similar in SuiteScript 1.0. One some services, they do have this way of catch for PATCH where they have the client application (which in this case would be NetSuite) perform a POST request and just add some headers to properly point it to the PATCH-binded actions.

You must be logged in to reply to this topic.