# Processing net question

**URL:** <https://discourse.processing.org/t/processing-net-question/20377>\
**Category:** Coding Questions\
**Created:** [May 2, 2020, 4:59am UTC](https://discourse.processing.org/t/processing-net-question/20377 "2020-05-02T04:59:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![emanresU](https://avatars.discourse-cdn.com/v4/letter/e/9d8465/32.png) [@emanresU](https://discourse.processing.org/u/emanresU)\
**Post date:** [May 2, 2020, 4:59am UTC](https://discourse.processing.org/t/processing-net-question/20377/1 "2020-05-02T04:59:18Z")

</div>

how i can conect to the server (library [processing.net](http://processing.net).\*) in the global net but no in the local net

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [May 2, 2020, 4:53pm UTC](https://discourse.processing.org/t/processing-net-question/20377/2 "2020-05-02T16:53:50Z")

</div>

What is your use case? Please show some minimal code.  
You can load your web app in any service like Google, Heroku, your own server provider…  
Can you reach your service using your browser? using curl?

Then you can use simple HTTP/HTTPs calls to reach your service. For that, you can explore previous posts in the forum.

One simple way to retrieve data is using `loadStrings()` as it will fetch data if your service accepts HTTP request using the GET verb. You should give it a try. Other posts to check:

- [Java demo](https://forum.processing.org/two/discussion/21784/help-with-api-using-http-get-and-json)
- [Javascript demo](https://forum.processing.org/two/discussion/6942/loadstrings-question)

See the reference: [https://processing.org/reference/loadStrings\_.html](https://processing.org/reference/loadStrings_.html)

## Extra:

```java
void setup(){
  String strOut[]=loadStrings("http://www.example.com");
  printArray(strOut);
}

```

Kf
