- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bom dia,
Estou tentando efetuar o método post em um server local onde ao realizar o teste através do "postman" é retornado a mensagem esperada (conforme imagem em anexo), porém no APP não retornar nada poderiam me auxiliar nesta questão?
No caso o teste é de um APP bem simples onde ao clicar no botão ele envia o post para a URL e retorna em uma campo texto a mensagem que é apresentada na página.
Segue abaixo código do botão
$.post( "http://localhost:49697/api/PetServer?Nome=teste&Sobrenome=euuuuu", function( data ) { $( ".result" ).html( data );
- Tags:
- HTML5
- Intel® XDK
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Segue a imagem do post anterior.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your post translated:
Good day,
I'm trying to make the post method on a server where to take the test through the " postman " the expected message is returned (as attached image ), but in APP return nothing could help me in this matter ?
If the test is a simple APP where when you click the button it sends the post to the URL and returns in a text field the message that appears on the page.
Below the button code
I am not sure if I fully understand your question, so I'm going to guess that you need to set your domain access whitelist. See this post: https://software.intel.com/en-us/forums/topic/559482

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page