Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Anslut till min server för testning av APIet på era datorer #35

Open
Yogsther opened this issue Dec 3, 2019 · 0 comments
Open

Anslut till min server för testning av APIet på era datorer #35

Yogsther opened this issue Dec 3, 2019 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@Yogsther
Copy link
Collaborator

Yogsther commented Dec 3, 2019

Öppna explorer (Windows + E) klicka i sökfältet och kör:
chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security

Sen använd axios för att skicka requests

axios.get("http://192.168.2.35:5050/api/comments", { params: { token } })
            .then(res => {
                console.log(res.data);
            })
@Yogsther Yogsther added the documentation Improvements or additions to documentation label Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant