asdasdasd
  • Страница 1 из 1
  • 1
Тестовая тема 2
dimonchikДата: Четверг, 14.04.2016, 15:02 | Сообщение # 1
Рядовой
Группа: Администраторы
Сообщений: 7
Награды: 0
Репутация: 0
Статус: Оффлайн
Here is my source gist for my fully implemented Grunt task for anyone else thinking about working with the EdgeCast API. You'll find in my example that I use a grunt-shell to execute the curl command which purges the CDN.

This was that I ended up with after spending hours trying to get an HTTP request to work within Node. I was able to get one working in Ruby and Python, but did not meet the requirements of this project.
 
dimonchikДата: Четверг, 14.04.2016, 15:06 | Сообщение # 2
Рядовой
Группа: Администраторы
Сообщений: 7
Награды: 0
Репутация: 0
Статус: Оффлайн
For more advanced request manipulations submit() method returns http.ClientRequest object, or you can choose from one of the alternative submission methods.
 
dimonchikДата: Четверг, 14.04.2016, 15:07 | Сообщение # 3
Рядовой
Группа: Администраторы
Сообщений: 7
Награды: 0
Репутация: 0
Статус: Оффлайн
The newest Node versions won't work well with binary strings, so merging chunks with strings is not a good idea when working with binary data.
 
  • Страница 1 из 1
  • 1
Поиск: