Receiving data from a website in a JS application - Phonegap

Asked

Viewed 40 times

0

Is it possible to receive data from a website even if I don’t have access to its server? I did a search and saw them talk about JSON but for what it seems to me (I may be mistaken, of course) it is only possible to implement it through php itself on the server so it is no use to me. I would like to send and receive data through JS. Thank you.

  • 2

    Can use ajax

  • It is possible to use JSON with Javascript. I even have a slight impression that JSON means Javascript Son, anyway... just a curiosity.

  • The server you refer to lets you fetch data? you know the url to "ask" data?

  • @Andrewribeiro JSON is "javascript Object Notation", you may think it is a 'universal' form of right-wing languages to communicate with each other. It has nothing to do with javascript other than the syntax that is very similar to the statement of a javascript obj

  • How do you get the data from a server without having access to it? Please make an example so that we can help you

  • type guys, I do not manage the php server I want to access I only have access as a client. I wanted to know if there is a way to request data from the site through js. An example of what I’m talking about is the Cartola Premiere app that gives access to Cartola FC. https://play.google.com/store/apps/details?id=com.cartola.premiere.pro&hl=pt_BR

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.