It is currently 26 February 2021, 18:32 Advanced search

Web api richiesta risorsa

Domande e risposte su come utilizzare Instant Developer Foundation al meglio

Web api richiesta risorsa

Postby r.bianco » 19 February 2021, 10:16

Devo interrogare una web api foundation, chiedendo la testa dell'ordine tramite PK.
Alcuni campi PK contengono spazi.
Come devo comporre l'url della richiesta?

"http://127.0.0.1:1309/WebConnector/E2WebApi/E2OrdTesta/TDORC/2021/%20%20/5100020/%20"
"http://127.0.0.1:1309/WebConnector/E2WebApi/E2OrdTesta/TDORC/2021/ /5100020/ "
"http://127.0.0.1:1309/WebConnector/E2WebApi/E2OrdTesta/TDORC/2021//5100020/"

Ritornano 404
only work and no play makes jack a dull boy
r.bianco
 
Posts: 4363
Joined: 8 November 2010, 16:46

Re: Web api richiesta risorsa

Postby r.bianco » 19 February 2021, 10:58

Da quello che ho capito, va scritta così:

"http://127.0.0.1:1309/WebConnector/E2WebApi/E2OrdTesta/TDORC/2021/~~NULL~~/5100020/~~NULL~~"

Confermate?
only work and no play makes jack a dull boy
r.bianco
 
Posts: 4363
Joined: 8 November 2010, 16:46


Return to Tips & Tricks - Foundation

Who is online

Users browsing this forum: No registered users and 22 guests