Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fetch('/api/days/task/add/', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- body: JSON.stringify({
- dayid: '59455bc0a96a7810a0595306',
- title: 'Запись',
- price: 1000,
- }),
- })
- .then(res => res.json())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement