master_basic
linlu 1 year ago
parent f712e49144
commit 29b7939710

@ -39,7 +39,7 @@ export function getRequest(url: string, params: object) {
* @returns {Promise} - Promise response error
*/
export function postRequest(url: string, data: object) {
return fetch(url, {
return fetch('http://localhost:8088' + url, {
method: 'POST',
headers: {
'Content-Type': 'application/json',

Loading…
Cancel
Save