Search:

Type: Posts; User: Mike Peat

Page 1 of 80 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: Autenticação Basica para consumo WebService

    Yes, that should work as well. :)
  2. Re: Autenticação Basica para consumo WebService

    Yes. Basically it is just a matter of concatenating <username> ":" <password> and base64 encoding them.

    So...



    Function BasicAuthCreds String sUsername String sPassword Returns String
    ...
  3. Replies
    16
    Views
    313

    Re: Do as I say, don't do as I do...

    I could suggest that "[Found ~Found] Begin" might be replaced with "If (False) Begin" or maybe "If (True) Begin" (I can't remember just how multiple indicators are supposed to work ;)), although...
  4. Replies
    16
    Views
    313

    Re: Do as I say, don't do as I do...

    You are a bad man, Samuel! ;)

    I can totally understand it - I'd be frightened to touch some of that code!

    Mike
  5. Replies
    16
    Views
    313

    Re: Do as I say, don't do as I do...

    Stephen

    Yes, I realise that (I've been in many of your lectures where you explained it ;)), but I thought it was interesting to note where DAW themselves relied on obsolete/deprecated syntax.

    ...
  6. Replies
    16
    Views
    313

    Do as I say, don't do as I do...

    Just having a bit of fun (prompted by something I tripped over debugging), I did a "Find in Files" for the text "CompilerWarnings Off" in DF 20.1.

    There were a few... ;)

    C:\Program...
  7. Replies
    4
    Views
    112

    Re: Add prefix to xml node

    Luca

    Try looking at the AddElementNS method of the cXMLDOMElement class (or indeed many other XML classes).

    Mike
  8. Re: Has anyone implemented MS Compression APIs in DataFlex ?

    +1
  9. Replies
    2
    Views
    125

    Re: Json and empty arrays

    Ian

    One problem with RESTGen is that if your sample JSON contains empty arrays it is forced to assume those are just arrays of strings (having nothing else to go on). Now I note that tagIds is...
  10. Replies
    4
    Views
    171

    Re: problem with chttptransfer

    Franco

    I'd try removing the leading "/" in the sPath - it shouldn't be there.

    Mike
  11. Replies
    3
    Views
    155

    Re: A good read !

    :D
  12. Replies
    3
    Views
    155

    Re: A good read !

    Of cool "magic-bullet" software development methodologies, I have only this to say (with apologies to Brian Hanrahan of the BBC): "I counted them all out, and I counted them all back". ;)

    Mike
  13. Replies
    3
    Views
    183

    Re: Problem calling external API

    In fact looking again at your post, I think that is exactly the problem. :)

    Mike
  14. Replies
    3
    Views
    183

    Re: Problem calling external API

    Ian

    Not sure if this is your actual problem, but the path argument to HTTPGetRequest should probably be just "v1/tag-groups" rather than the whole URL you are using.

    The psRemoteHost setting in...
  15. Replies
    14
    Views
    335

    Re: cJsonHttpTransfer translate from PHP

    Ok. :)
  16. Replies
    14
    Views
    335

    Re: cJsonHttpTransfer translate from PHP

    Giuseppe

    If you'd like I can try to see if I can get it working here, but I'll need all the "secret" stuff you have (quite rightly! ;)) left out of your code posted here. If you want to send that...
  17. Re: Any place to obtain Dataflex install files or 3.5” diskettes for DOS computers?

    :)
  18. Replies
    1
    Views
    141

    Re: List of dynamic variables

    Edgar

    Check out https://www.youtube.com/watch?v=vDBXMPEgF7o. Might help.

    Mike
  19. Replies
    14
    Views
    335

    Re: cJsonHttpTransfer translate from PHP

    Giuseppe

    Well I'm not going to try to figure out all that PHP code - way too much work! ;)

    What I'd try is (completely untested, obviously):



    Use cHttpTransfer.pkg
  20. Replies
    14
    Views
    335

    Re: cJsonHttpTransfer translate from PHP

    Good luck! :)

    If you need any help with the code just let me know.

    Mike
  21. Replies
    14
    Views
    335

    Re: cJsonHttpTransfer translate from PHP

    Giuseppe

    OK, so long as your parameters (those name=value pairs) are URL encoded (so conform to percent encoding for special characters) you should be able to put them in a string separated by &...
  22. Replies
    14
    Views
    335

    Re: cJsonHttpTransfer translate from PHP

    Right, first thing I note is that it makes a difference whether you are using GET or PUT.

    If it is a GET, then the parameters are passed on the query string part of the URL as name=value pairs...
  23. Replies
    14
    Views
    335

    Re: cJsonHttpTransfer translate from PHP

    Giuseppe

    OK, I'll take a quick look at GuzzleHttp. :)

    Mike
  24. Re: Any place to obtain Dataflex install files or 3.5” diskettes for DOS computers?

    DF v3.2b? New one on me! ;)
  25. Replies
    14
    Views
    335

    Re: cJsonHttpTransfer translate from PHP

    Giuseppe

    (First disclaimer: I don't use cJsonHttpTransfer - I just use cHttpTransfer and cJsonObjects - and I don't know what is going on in the PHP GuzzleHttp module you are using.)

    It looks...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4