I,m facing an issue with the patch method on Service Layer. I reach to realise get,post and delete method however impossible to realise patch method. I get the error message :
HTTP/1.1 500 Internal Server Error
Date: Thu, 18 Nov 2021 13:17:53 GMT
Server: Apache
Content-Length: 0
Connection: close
My code with windev below. Can I have an solution please ?
TestRestRequeteest une httpRequête<br>vBusinessPartnersest un JSON<br><br>TestRestRequete.URL="http://mon-serveur:50001/b1s/v1/BusinessPartners('CZZZ')"<br>TestRestRequete.Méthode=httpPatch<br>TestRestRequete.TimeoutConnexion=60000<br>TestRestRequete.ContentType="application/json"<br>TestRestRequete.Entête["Content-Transfer-Encoding"]="binary"<br>TestRestRequete.Entête["Cookie"]="B1SESSION="+TestSLayerSessionID//id de connexion<br>vBusinessPartners=Null<br>vBusinessPartners.CardCode="CZZZ"<br>vBusinessPartners.CardName="Les chantiers de l'Oise E"<br>vBusinessPartners.CardType="C"<br>TestRestRequete.Contenu=vBusinessPartners
Request clarification before answering.
| User | Count |
|---|---|
| 14 | |
| 12 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.