Timeline for Can't Consume POST request but Dev Console shows url is being hit with requests
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 13, 2019 at 22:45 | comment | added | thinker | How do you set the method signature? The article you posted above doesn't seem to provide an answer. | |
Nov 13, 2019 at 22:18 | comment | added | identigral | Both cases have the same root cause - the request doesn't match method signature. | |
Nov 13, 2019 at 22:04 | comment | added | thinker | The odd thing is that if we take away the parameter in the method, the url will not be hit by the vendor's post request. If we have a parameter, we can see the Post Request and it's key-value pairs sent in the URL, but the method will not fire. It's almost as if the class is being run but the method is not. | |
Nov 13, 2019 at 21:50 | comment | added | identigral | If it's not coming as JSON or it's coming in as JSON but you want to parse it yourself, you would need a different implementation along these lines | |
Nov 13, 2019 at 21:47 | comment | added | thinker | To be clear we are the ones consuming the post, not sending the post. | |
Nov 13, 2019 at 21:47 | comment | added | thinker | What if it's not coming as JSON, x-www-form-urlencoded ? | |
Nov 13, 2019 at 21:42 | history | answered | identigral | CC BY-SA 4.0 |