Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Send PUT request #4

Closed
babca opened this issue Dec 15, 2020 · 2 comments
Closed

Send PUT request #4

babca opened this issue Dec 15, 2020 · 2 comments

Comments

@babca
Copy link

babca commented Dec 15, 2020

Sending request.open("PUT", "http://domain.com/api/endpoint/"); currently raises Guru Meditation Error.

How to send PUT request? It is technically no different from POST, except its name.

@khoih-prog
Copy link
Owner

Thanks for your interest in the library.

The PUT is not currently supported, only POST and GET. You can rewrite you code to use POST instead of PUT.

If you'd like us to consider to add the enhancement in the near future, at first, could you read the document How to create a Minimal, Reproducible Example as well as Reporting Bugs

Then post the reproducible example to save us some time to reproduce the issue and test the new enhancement.

I'll close the issue and reopen when you post the reproducible code as guidelined.

@khoih-prog
Copy link
Owner

Please check the new AsyncHTTPRequest_Generic Library v.1.1.0 which has just been released.

Please test and verify to see if there is any issue / bug.

Thanks and Regards,

KH


Releases v1.1.0

  1. Add HTTP PUT, PATCH, DELETE and HEAD methods. Check Add support for sending PUT, PATCH, DELETE request
  2. Add Table of Contents
  3. Add Version String

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants