Curl to call web callback

Hello,

I would like to call from a php script the webcall back script but i probably do an error in my curl

Any php specialist there ?

curl -H “Content-Type: application/json” -d “num=0032495680934&i=1” https://xxxxx.be/wcb.php?i=1

and i get invalid number

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; font-size: 12pt; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } #link, #link a:visited{ color: #ccc; font-size: 10px; font-family:Helvetica, sans-serif; margin-left: 15px; } #link > a { color: #ccc; text-decoration: none } #frame { background-image: url('/admin/modules/webcallback/assets/images/c2c-blue.png'); background-repeat: no-repeat; background-size: 200px; height: 65px; cursor: pointer; cursor: hand; } #webcallbackinput { position: relative; left: 69px; top: 34px; width: 121px; outline: 0; height: 17px; padding: 1px; }

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.