Infosteo Posted August 7, 2020 Share Posted August 7, 2020 Buongiorno a tutti, ho sviluppato una interfaccia .Net C# per dialogare con i webservice di Prestashop, utilizzando PrestaSharp. Effettuo una Get sui prodotti, ma il response che ricevo non è in XML o JSON, ma l'HTML della pagina "elenco prodotti" del sito. Ho fatto la stessa chiamata in maniera tradizionale con HttpWebRequest ed il risultato è lo stesso. Se effettuo la chiamata con Postman o da browser funziona. Ho notato che l'URL della request, dopo GetResponse cambia da https://miositoweb/api/products/?display=full a AbsoluteUri = "https://miositoweb/index.php?url=products%2F&display=full" E' capitato a qualcuno? Grazie Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now